package com.ecfront.test.server;

import com.ecfront.exception.WebSiteException;
import com.ecfront.service.WebSiteService;
import com.ecfront.test.dao.SpringUtilTest;
import junit.framework.TestCase;

public class testWebSiteService extends TestCase {
	private static WebSiteService webSiteService = (WebSiteService)SpringUtilTest.getBean("webSiteService");
	//getSmtp test
	public void testGetSmtpName(){
		try {
			System.out.println(webSiteService.getSmtpName());
		} catch (WebSiteException e) {
			e.printStackTrace();
		}
	}
	//getSmtpPass test
	public void testGetSmtpPass(){
		try {
			System.out.println(webSiteService.getSmtpPass());
		} catch (WebSiteException e) {
			e.printStackTrace();
		}
	}
}
